/**
 * Created by xiangjiayu on 2017/5/31.
 */
import immutable from 'immutable';
import Mock from 'mockjs';

var constants = function () {

};
export default constants;

let memberList = []; 

for(var i=0; i<=20; i++){
  memberList.push(
    Mock.mock({
      "key|1-100": 100,
      "name": '@cname',
      "phone": /^1[34578]\d{9}$/,
      "position|1":[
        "会长",
        "副会长",
        "理事",
        "会员"
      ],
      "function|1":[
        "基础功能",
        "高级功能"
      ],
      "age|1":[
        "男",
        "女"
      ],
      "time": '@datetime'
    })
  );

}
constants.memberListTable = immutable.fromJS(memberList)
